package info.pixstone.foodhunter.domain.entity;

import info.pixstone.foodhunter.acquaintance.IALocation;

public class ELocation implements IALocation 
{
	private double LocVersion;
	private int locID;
	private double longitute;
	private double latitude;
	
	//Constructor
	public ELocation()
	{}
	public ELocation( int locID, double longitute,
			double latitude) {
		super();
		LocVersion = 1.0;
		this.locID = locID;
		this.longitute = longitute;
		this.latitude = latitude;
	}

	@Override
	public void setLocID(int locId) {
		// TODO Auto-generated method stub
		this.locID=locId;
	}

	@Override
	public void setLong(double longitute) {
		// TODO Auto-generated method stub
		this.longitute=longitute;
	}

	@Override
	public void setLat(double latitude) {
		// TODO Auto-generated method stub
		this.latitude=latitude;
	}

	@Override
	public void setLocVersion(double version) {
		// TODO Auto-generated method stub
		this.LocVersion=version;
	}

	@Override
	public int getLocID() {
		// TODO Auto-generated method stub
		return this.locID;
	}

	@Override
	public double getLong() {
		// TODO Auto-generated method stub
		return this.longitute;
	}

	@Override
	public double getLat() {
		// TODO Auto-generated method stub
		return this.latitude;
	}

	@Override
	public double getLocVersion() {
		// TODO Auto-generated method stub
		return this.LocVersion;
	}

}
